package com.mew.common.entity.events;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@TableName("e_events")
@Data
@ToString
@NoArgsConstructor
public class Events  {


    @TableId("user_id")
    private Long userId;
    /**
     * 添加时间 转账时间
     */
    @TableField("add_time")
    private Date addTime;
    /**
     * 购买时间
     */
    @TableField("piggy_date")
    private Long piggyDate;
    /**
     * 购买次数
     */
    @TableField("piggy_times")
    private Integer piggyTimes;

    @TableField("days_date")
    private Long daysDate;

    @TableField("days_times")
    private Integer daysTimes;

    @TableField("days_get_date")
    private Long daysGetDate;

    @TableField("days_b_times")
    private Integer daysBTimes;

    @TableField("days_b_get_date")
    private Long daysBGetDate;

    @TableField("days_b_privilege")
    private Integer daysBPrivilege;

    @TableField("days_roulette_times")
    private Integer daysRouletteTimes;

    @TableField("days_roulette_privilege")
    private Integer daysRoulettePrivilege;

    public Events(long userId){
        this.userId = userId;
    }

}
